$menuWidth: 300px;
$headerHeight: 60px;
$operatorWidth: 300px;

$c-primary: #409eff;
$c-border:#dcdfe6;
$c-border-light:#ebeef5;
$c-text:#314659;
$c-icon:rgba(0, 0, 0, 0.45);
$c-shadow: #f0f1f2;

.editor-container{
  display: flex;
  align-items: stretch;
  position: fixed;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  background: #fff;
  &::before{
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba($color: black, $alpha: 0.1);
    z-index: -1;
  }
  .editor-menu{
    width: $menuWidth;
    background: #fff;
    padding: 15px;
    box-sizing: border-box;
    .menu-item{
      position: relative;
      border: solid 2px $c-border-light;
      padding: 39px 15px 15px;
      text-align: center;
      cursor: move;
      &::before{
        content: "";
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
      }
      & + .menu-item{
        margin-top: 20px;
      }
      .menu-item-label{
        background: $c-primary;
        position: absolute;
        top: 0;
        left: 0;
        padding: 0 15px;
        font-size: 12px;
        height: 24px;
        line-height: 24px;
        color: #fff;
      }
    }
  }
  .editor-header{
    height: $headerHeight;
    background: $c-primary;
    position: fixed;
    top: 20px;
    width: 50%;
  }
  .editor-operator{
    width: $operatorWidth;
    background: #fff;
  }
  .editor-body{
    position: relative;
    flex: 1;
    box-sizing: border-box;
    overflow-y: scroll;
  }

  .editor-context{
    display: flex;
    justify-content: center;
    background:  #fff;
  }
}